// 商品相关接口
import request from "@/utils/request";
// 获取商品分类信息
export const getCategory = (id) => request("/category", "get", { id });
// 搜索商品
export const getSearchGoods = (data) => request("/search/all", "post", data);
// 获取商品详情
export const getGoods = (id) => request("/goods", "get", { id });